namespace AdmissionQA.Application.Dtos.QAHistory;

/// <summary>
/// 问答历史记录DTO
/// </summary>
public class QAHistoryDto
{
    /// <summary>
    /// 用户查询文本
    /// </summary>
    public string Query { get; set; } = string.Empty;

    /// <summary>
    /// 系统回答
    /// </summary>
    public string Answer { get; set; } = string.Empty;

    /// <summary>
    /// 查询类型
    /// </summary>
    public string QueryType { get; set; } = string.Empty;

    /// <summary>
    /// 置信度
    /// </summary>
    public string Confidence { get; set; } = string.Empty;

    /// <summary>
    /// 用户IP地址
    /// </summary>
    public string? UserIP { get; set; }

    /// <summary>
    /// 用户代理
    /// </summary>
    public string? UserAgent { get; set; }
}

/// <summary>
/// 问答历史记录列表DTO
/// </summary>
public class QAHistoriesDto
{
    /// <summary>
    /// 问答历史记录列表
    /// </summary>
    public List<QAHistoryDto> QAHistories { get; set; } = new();
} 